import 'dart:convert';

class LoginRequest {
  late String mobile;
  late String yzm;

  LoginRequest({required this.mobile, required this.yzm});

  LoginRequest.fromJson(Map<String, dynamic> json) {
    mobile = json['mobile'];
    yzm = json['yzm'];
  }

  String toRawJson() => json.encode(toJson());
  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['mobile'] = this.mobile;
    data['yzm'] = this.yzm;
    return data;
  }
}
